package main;


public class ROBEntry extends Main{

	Instruction inst;
	boolean ready;
	int regName;
	int value;
	Order order;
	
	public ROBEntry(Instruction inst, boolean ready, int regName, int value,
			Order order) {
		this.inst = inst;
		this.ready = ready;
		this.regName = regName;
		this.value = value;
		this.order = order;
	}
	
	public String text() {
		
		return ready+" ; r = "+regName+" ; value = "+value+" ; "+order.value;
	
	}
	
	public static void print() {
		
		for(int i=0; i< ROB.size(); i++) {
			
			System.out.println(ROB.get(i).text());
			
		}
		
	}
	
	
}
